package com.jlcindia.util;


import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;

import org.hibernate.SessionFactory;
import org.hibernate.cfg.Configuration;

public class JPAUtil {
	static EntityManagerFactory factory = null;
	static{
		factory = Persistence.createEntityManagerFactory("JLCINDIA");
	}
	public static EntityManagerFactory getEntityManagerFactory(){
		return factory;
	}

}
